dateutils software package provides nifty command line date and time utilities, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install dateutils
dateutils is installed in your system.
Make ensure the dateutils package were installed using the commands given below,
$ sudo dpkg-query -l | grep dateutils *
You will get with dateutils package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Utilities |
| Package | dateutils |
| Version | 0.3.1-1.1 |
| Description | nifty command line date and time utilities |
| Sub Section | Utils |